package com.cg.client.impl;

import com.cg.client.SystemClient;
import com.cg.dto.*;
import com.cg.entity.*;
import com.cg.vo.*;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SystemClientImpl
 * @Description 管理客户端:熔错管理
 * @Author CG
 * @Date 2023/12/1 9:22
 **/
public class SystemClientImpl implements SystemClient {
    @Override
    public Result<List<Department>> queryAll() {
        return ResultUtils.returnResult(ResultEnum.FAIL);
    }

    @Override
    public Result<List<DictionaryType>> queryTypeAll() {
        return ResultUtils.returnResult(ResultEnum.FAIL);
    }

    @Override
    public Result<List<Dictionary>> queryDicByTypeCode(String typeCode) {
        return ResultUtils.returnResult(ResultEnum.FAIL);
    }

    @Override
    public Result<String> createCodeNum() {
        return ResultUtils.returnResult(ResultEnum.FAIL);
    }

    @Override
    public Result createUser(User user) {
        return ResultUtils.returnFail("用户添加失败");
    }

    @Override
    public Result createSource(Source source) {
        return ResultUtils.returnFail("创建权限失败");
    }

    @Override
    public Result<LoginUserVo> login(User user) {
        return ResultUtils.returnFail("创建权限失败");
    }

    @Override
    public LoginUserVo getUserByToken(String token) {
        return null;
    }

    @Override
    public Result<Map<String, Object>> queryRoleByRoleName(RoleDto roleDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<SourceForRoleVo> querySourceBySourceId(Integer roleId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result createRoleSource(RoleSourceDto roleSourceDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result checkRoleCode(String roleCode) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result insertRole(Role role) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result updateRole(Role role) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result deleteRoleByRoleId(Integer roleId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> queryDepByDepName(DepartmentDto departmentDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> queryUserByUserName(UserDepRoleDto userDepRoleDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result createUserRole(UserRoleDto userRoleDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<List<MenuAllVo>> queryMenuAll() {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result checkSourceUrl(String url) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result removeSource(Integer sourceId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result updateSourceName(Source source) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<UserDetailVo> getUserByUserId(Integer userId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result updateUserState(Integer id) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result updateUserByUserId(User user) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result removeUserByUserId(Integer userId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> noticeList(NoticePageDto noticePageDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result createNotice(NoticeDepartmentDto noticeDepartmentDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<QueryNoticeByNoticeIdVo> queryNotice(Integer id) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result deleteNoticeById(Integer noticeId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<UserShowInfoVo> queryUserInfo(Integer userId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result setNotice(NoticeDepartmentDto noticeDepartmentDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result queryCountByOrgCode(String orgName) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result createOrganize(Organize organize) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> organizeList(OrgPageDto orgPageDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result setOrganize(Organize organize) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result removeOrganize(Integer id) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Organize> queryOrganizeByOrganizeId(Integer organizeId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result checkLoginUser(String loginUser) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result checkBaseCode(String baseCode) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> baseList(BasePageDto basePageDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result insertBaseInfo(BaseInfo baseInfo) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result setBaseInfo(BaseInfo baseInfo) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result removeBaseInfo(Integer baseInfoId) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result setPassword(UpdateUserDto updateUserDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result setLoginUser(User user) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result createDictionaryType(DictionaryDto dictionaryDto) {
        return ResultUtils.returnFail("系统异常");
    }

    @Override
    public Result<Map<String, Object>> queryDictionary(DictionaryPageDto dictionaryPageDto) {
        return ResultUtils.returnFail("系统异常");
    }

}
